#include <iostream>

double convert(double);

int main()
{
	using namespace std;

	cout << "Please enter a Celsius value : ";
	double cels;
	cin >> cels;

	double result = convert(cels);

	cout << cels << " degrees Celsius is " << result 
		<< " degrees Fahrenheit. " << endl;

	return 0;
}

double convert(double num)
{
	return 1.8 * num + 32.0;
}
